<?php
  $country = ["zh", "en", "yue", "jp", "kor", "fra", "spa", "th", "ara", "ru", "pt", "de", "it", "el", "nl", "pl", "bul", "est", "dan", "fin", "cs", "rom", "slo", "swe", "hu", "cht", "vie"];
  $hostname = $_SERVER['HTTP_HOST'];
  $subdomain = explode('.', $hostname)[0];
  $language = 'en';
  if (in_array($subdomain, $country)) {
      $language = $subdomain;
  }
  ?>
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport"
    content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5, viewport-fit=cover">
  <meta name="format-detection" content="telephone=no">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="theme-color" content="white">
  <title>{usu_fanyi($seo_title, $language)}</title>
  <meta content="{usu_fanyi($meta_keywords, $language)}" name="keywords" />
  <meta content="{usu_fanyi($seo_des, $language)}" name="description" />
  <script type="text/javascript">
      var is_mobile_cms = '{IS_MOBILE}';
      var web_dir = '{WEB_DIR}';
  </script>
  <script src="{LANG_PATH}lang.js" type="text/javascript"></script>
  <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
  <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
  {SITE_TONGJI}
  <link href="/31514/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <link href="{HOME_THEME_PATH}css/style.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/index.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/swiper.css" rel="stylesheet" media="screen" type="text/css">
</head>